<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
    <META http-equiv=Content-Type content="text/html; charset=gb2312">
    <link rel="stylesheet" href="/sys/resources/css/reset.css" type="text/css" media="screen"/>
    <link rel="stylesheet" href="/sys/resources/css/style.css" type="text/css" media="screen"/>
    <link rel="stylesheet" href="/sys/resources/css/invalid.css" type="text/css" media="screen"/>
    <script type="text/javascript" src="/sys/resources/scripts/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="/sys/resources/scripts/simpla.jquery.configuration.js"></script>
    <script type="text/javascript" src="/sys/resources/scripts/facebox.js"></script>
    <title>新增导航管理</title>
</HEAD>
<BODY class="mian_bg">
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
    <TR height=28>
        <TD class="addr_td">&nbsp;&nbsp;<img src="/sys/resources/images/addr_icon.png">&nbsp;当前位置: 系统设置>新增导航管理</TD>
    </TR>
    <TR>
        <TD bgColor=#7ca600 height=1></TD>
    </TR>
    <TR>
        <TD bgColor=#8ebe00 height=1></TD>
    </TR>
</TABLE>
<div id="main-content">
    <div class="content-box">
        <!-- Start Content Box -->
        <div class="content-box-header">
            <h3>新增新增导航管理</h3>

            <div class="clear"></div>
        </div>
        <div class="tab-content">
            <form action="/sys/nvaManage/addData.do" method='post' id="form" name="form" onsubmit="return false;">
                <fieldset>
                    <p>
                        <a href="/sys/nvaManage/index.do">【返回列表】</a>
                    </p>

                    <p>
                        <label>菜单名称</label>
                        <input class="text-input small-input" type="text" name="name" id="name"/>
                    </p>

                    <p>
                        <label>菜单排序</label>
                        <input class="text-input small-input" type="text" id="sort" name="sort"
                               onkeyup="this.value=this.value.replace(/\D/g,'')"
                               onafterpaste="this.value=this.value.replace(/\D/g,'')"/>&nbsp;&nbsp;(注意：short 值)
                    </p>

                    <p>
                        <input type="submit" class="button" value="提交" onclick="check();"/>
                        <input type="reset" class="button" value="重置"/>
                    </p>
                </fieldset>
                <div class="clear"></div>
                <!-- End .clear -->
            </form>
        </div>
    </div>
</div>
</div>

<script type="text/javascript">
    function check() {
        if ($("#name").val() == "") {
            alert("请完善菜单名称");
            return false;
        }
        form.submit();
    }
</script>


</BODY>
</HTML>